package com.wlyuan.open.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-07-05
 */
@Data
@TableName("t_source_relation")
@ApiModel(value = "SourceRelationDO对象", description = "")
public class SourceRelationDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增ID")
    private Integer id;

    @ApiModelProperty("key")
    private String sourceKey;

    @ApiModelProperty("类型")
    private Integer sourceClass;

    @ApiModelProperty("租户ID")
    private Long tenantId;

    @ApiModelProperty("目标")
    private Long targetId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createAt;

    @ApiModelProperty("创建人")
    private Long createBy;
}
